Optimal. Leaf size=163 \[ -\frac {b c e \sqrt {1+\frac {1}{c^2 x^2}}}{2 d \left (c^2 d^2+e^2\right ) \left (e+\frac {d}{x}\right )}+\frac {b \text {csch}^{-1}(c x)}{2 d^2 e}-\frac {a+b \text {csch}^{-1}(c x)}{2 e (d+e x)^2}+\frac {b \left (2 c^2 d^2+e^2\right ) \tanh ^{-1}\left (\frac {c^2 d-\frac {e}{x}}{c \sqrt {c^2 d^2+e^2} \sqrt {1+\frac {1}{c^2 x^2}}}\right )}{2 d^2 \left (c^2 d^2+e^2\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.20, antiderivative size = 163, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 8, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {6425, 1582,
1489, 1665, 858, 221, 739, 212} \begin {gather*} -\frac {a+b \text {csch}^{-1}(c x)}{2 e (d+e x)^2}-\frac {b c e \sqrt {\frac {1}{c^2 x^2}+1}}{2 d \left (c^2 d^2+e^2\right ) \left (\frac {d}{x}+e\right )}+\frac {b \left (2 c^2 d^2+e^2\right ) \tanh ^{-1}\left (\frac {c^2 d-\frac {e}{x}}{c \sqrt {\frac {1}{c^2 x^2}+1} \sqrt {c^2 d^2+e^2}}\right )}{2 d^2 \left (c^2 d^2+e^2\right )^{3/2}}+\frac {b \text {csch}^{-1}(c x)}{2 d^2 e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 221
Rule 739
Rule 858
Rule 1489
Rule 1582
Rule 1665
Rule 6425
Rubi steps
\begin {align*} \int \frac {a+b \text {csch}^{-1}(c x)}{(d+e x)^3} \, dx &=-\frac {a+b \text {csch}^{-1}(c x)}{2 e (d+e x)^2}-\frac {b \int \frac {1}{\sqrt {1+\frac {1}{c^2 x^2}} x^2 (d+e x)^2} \, dx}{2 c e}\\ &=-\frac {a+b \text {csch}^{-1}(c x)}{2 e (d+e x)^2}-\frac {b \int \frac {1}{\sqrt {1+\frac {1}{c^2 x^2}} \left (e+\frac {d}{x}\right )^2 x^4} \, dx}{2 c e}\\ &=-\frac {a+b \text {csch}^{-1}(c x)}{2 e (d+e x)^2}+\frac {b \text {Subst}\left (\int \frac {x^2}{(e+d x)^2 \sqrt {1+\frac {x^2}{c^2}}} \, dx,x,\frac {1}{x}\right )}{2 c e}\\ &=-\frac {b c e \sqrt {1+\frac {1}{c^2 x^2}}}{2 d \left (c^2 d^2+e^2\right ) \left (e+\frac {d}{x}\right )}-\frac {a+b \text {csch}^{-1}(c x)}{2 e (d+e x)^2}-\frac {(b c) \text {Subst}\left (\int \frac {e-\left (d+\frac {e^2}{c^2 d}\right ) x}{(e+d x) \sqrt {1+\frac {x^2}{c^2}}} \, dx,x,\frac {1}{x}\right )}{2 e \left (c^2 d^2+e^2\right )}\\ &=-\frac {b c e \sqrt {1+\frac {1}{c^2 x^2}}}{2 d \left (c^2 d^2+e^2\right ) \left (e+\frac {d}{x}\right )}-\frac {a+b \text {csch}^{-1}(c x)}{2 e (d+e x)^2}+\frac {b \text {Subst}\left (\int \frac {1}{\sqrt {1+\frac {x^2}{c^2}}} \, dx,x,\frac {1}{x}\right )}{2 c d^2 e}-\frac {\left (b c \left (2+\frac {e^2}{c^2 d^2}\right )\right ) \text {Subst}\left (\int \frac {1}{(e+d x) \sqrt {1+\frac {x^2}{c^2}}} \, dx,x,\frac {1}{x}\right )}{2 \left (c^2 d^2+e^2\right )}\\ &=-\frac {b c e \sqrt {1+\frac {1}{c^2 x^2}}}{2 d \left (c^2 d^2+e^2\right ) \left (e+\frac {d}{x}\right )}+\frac {b \text {csch}^{-1}(c x)}{2 d^2 e}-\frac {a+b \text {csch}^{-1}(c x)}{2 e (d+e x)^2}+\frac {\left (b c \left (2+\frac {e^2}{c^2 d^2}\right )\right ) \text {Subst}\left (\int \frac {1}{d^2+\frac {e^2}{c^2}-x^2} \, dx,x,\frac {d-\frac {e}{c^2 x}}{\sqrt {1+\frac {1}{c^2 x^2}}}\right )}{2 \left (c^2 d^2+e^2\right )}\\ &=-\frac {b c e \sqrt {1+\frac {1}{c^2 x^2}}}{2 d \left (c^2 d^2+e^2\right ) \left (e+\frac {d}{x}\right )}+\frac {b \text {csch}^{-1}(c x)}{2 d^2 e}-\frac {a+b \text {csch}^{-1}(c x)}{2 e (d+e x)^2}+\frac {b \left (2 c^2 d^2+e^2\right ) \tanh ^{-1}\left (\frac {c^2 d-\frac {e}{x}}{c \sqrt {c^2 d^2+e^2} \sqrt {1+\frac {1}{c^2 x^2}}}\right )}{2 d^2 \left (c^2 d^2+e^2\right )^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.32, size = 204, normalized size = 1.25 \begin {gather*} \frac {1}{2} \left (-\frac {a}{e (d+e x)^2}-\frac {b c e \sqrt {1+\frac {1}{c^2 x^2}} x}{d \left (c^2 d^2+e^2\right ) (d+e x)}-\frac {b \text {csch}^{-1}(c x)}{e (d+e x)^2}+\frac {b \sinh ^{-1}\left (\frac {1}{c x}\right )}{d^2 e}+\frac {b \left (2 c^2 d^2+e^2\right ) \log (d+e x)}{d^2 \left (c^2 d^2+e^2\right )^{3/2}}-\frac {b \left (2 c^2 d^2+e^2\right ) \log \left (e+c \left (-c d+\sqrt {c^2 d^2+e^2} \sqrt {1+\frac {1}{c^2 x^2}}\right ) x\right )}{d^2 \left (c^2 d^2+e^2\right )^{3/2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(928\) vs.
\(2(150)=300\).
time = 2.32, size = 929, normalized size = 5.70
method | result | size |
derivativedivides | \(\frac {-\frac {a \,c^{3}}{2 \left (e c x +c d \right )^{2} e}-\frac {b \,c^{3} \mathrm {arccsch}\left (c x \right )}{2 \left (e c x +c d \right )^{2} e}+\frac {b \,c^{3} \sqrt {c^{2} x^{2}+1}\, d \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{2 e \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, x \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}+\frac {b \,c^{3} \sqrt {c^{2} x^{2}+1}\, \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}-\frac {b \,c^{3} \sqrt {c^{2} x^{2}+1}\, d \ln \left (\frac {2 \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \sqrt {c^{2} x^{2}+1}\, e -2 d \,c^{2} x +2 e}{e c x +c d}\right )}{e \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, x \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}-\frac {b \,c^{3} \sqrt {c^{2} x^{2}+1}\, \ln \left (\frac {2 \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \sqrt {c^{2} x^{2}+1}\, e -2 d \,c^{2} x +2 e}{e c x +c d}\right )}{\sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}-\frac {b c e \left (c^{2} x^{2}+1\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, x d \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}+\frac {b c e \sqrt {c^{2} x^{2}+1}\, \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, x d \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}+\frac {b c \,e^{2} \sqrt {c^{2} x^{2}+1}\, \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, d^{2} \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}-\frac {b c e \sqrt {c^{2} x^{2}+1}\, \ln \left (\frac {2 \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \sqrt {c^{2} x^{2}+1}\, e -2 d \,c^{2} x +2 e}{e c x +c d}\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, x d \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}-\frac {b c \,e^{2} \sqrt {c^{2} x^{2}+1}\, \ln \left (\frac {2 \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \sqrt {c^{2} x^{2}+1}\, e -2 d \,c^{2} x +2 e}{e c x +c d}\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, d^{2} \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}}{c}\) | \(929\) |
default | \(\frac {-\frac {a \,c^{3}}{2 \left (e c x +c d \right )^{2} e}-\frac {b \,c^{3} \mathrm {arccsch}\left (c x \right )}{2 \left (e c x +c d \right )^{2} e}+\frac {b \,c^{3} \sqrt {c^{2} x^{2}+1}\, d \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{2 e \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, x \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}+\frac {b \,c^{3} \sqrt {c^{2} x^{2}+1}\, \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}-\frac {b \,c^{3} \sqrt {c^{2} x^{2}+1}\, d \ln \left (\frac {2 \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \sqrt {c^{2} x^{2}+1}\, e -2 d \,c^{2} x +2 e}{e c x +c d}\right )}{e \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, x \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}-\frac {b \,c^{3} \sqrt {c^{2} x^{2}+1}\, \ln \left (\frac {2 \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \sqrt {c^{2} x^{2}+1}\, e -2 d \,c^{2} x +2 e}{e c x +c d}\right )}{\sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}-\frac {b c e \left (c^{2} x^{2}+1\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, x d \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}+\frac {b c e \sqrt {c^{2} x^{2}+1}\, \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, x d \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}+\frac {b c \,e^{2} \sqrt {c^{2} x^{2}+1}\, \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, d^{2} \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}-\frac {b c e \sqrt {c^{2} x^{2}+1}\, \ln \left (\frac {2 \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \sqrt {c^{2} x^{2}+1}\, e -2 d \,c^{2} x +2 e}{e c x +c d}\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, x d \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}-\frac {b c \,e^{2} \sqrt {c^{2} x^{2}+1}\, \ln \left (\frac {2 \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \sqrt {c^{2} x^{2}+1}\, e -2 d \,c^{2} x +2 e}{e c x +c d}\right )}{2 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, d^{2} \sqrt {\frac {c^{2} d^{2}+e^{2}}{e^{2}}}\, \left (c^{2} d^{2}+e^{2}\right ) \left (e c x +c d \right )}}{c}\) | \(929\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 2579 vs.
\(2 (145) = 290\).
time = 1.02, size = 2579, normalized size = 15.82 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {acsch}{\left (c x \right )}}{\left (d + e x\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {a+b\,\mathrm {asinh}\left (\frac {1}{c\,x}\right )}{{\left (d+e\,x\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________